package com.wyz.socket.core.api;

import com.wyz.socket.core.base.IoArgs;

import java.io.Closeable;
import java.io.IOException;

// 发送事件接口
public interface Sender extends SocketHelper {

    void setSendListener(IoArgs.IoBufferEventProcessor processor) ;

    void postSendAsync() throws Exception;

    void stopAsync() throws IOException;
}
